package com.atguigu.stgy.app.service;

//import com.atguigu.stgy.model.entity.RoomInfo;
import com.atguigu.stgy.model.dto.RoomInfoSearchDTO;
import com.atguigu.stgy.model.dto.RoomListSearchDTO;
import com.atguigu.stgy.model.entity.RoomInfo;
import com.atguigu.stgy.model.vo.RoomDetailVO;
import com.atguigu.stgy.model.vo.RoomInfoVO;
import com.atguigu.stgy.model.vo.RoomListVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

public interface RoomInfoService extends IService<RoomInfo>{


    Page<RoomInfoVO> pageItem(RoomInfoSearchDTO searchDTO);

    RoomDetailVO getDetailById(Long id);

    Page<RoomListVO> pageItemByApartmentId(RoomListSearchDTO searchDTO);

    BigDecimal getMinRentByApartmentId(Long apartmentId);
}
